<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>HTML表单</title>
    </head>
    <body>
        <form action="#">
            <label for="username">用户名:</label>
            <input type="text" id="username" placeholder="请输入用户名"><br><br>
            <label for="pwd">密码:</label>
            <input type="password" id="pwd" placeholder="请输入密码"><br><br>
            <label>性别</label>
            <input type="radio" name="gender">男
            <input type="radio" name="gender">女
            <input type="radio" name="gender">其他<br><br>
            
            <label>爱好:</label>
            <input type="checkbox" name="hobby">唱歌
            <input type="checkbox" name="hobby">跳舞
            <input type="checkbox" name="hobby">RAP
            <input type="checkbox" name="hobby">篮球<br><br>

            <input type="submit" value="提交">
        </form>
    </body>
</html>